﻿#pragma once
#include "../Core/Layer.hpp"
#include "../GameObject/Camera.h"
#include <vector>

namespace Kriko
{
    class RenderLayer : public Layer
    {
    public:
        RenderLayer(std::shared_ptr<Camera>& camera) : Layer("RenderLayer"), pCamera(camera) {}
        ~RenderLayer() = default;

    public:
        void OnAttach() override;
        void OnDetach() override;

        void OnUpdate(const TimeStep& p_deltaTime) override;

    private:
        std::shared_ptr<Camera> pCamera;

        std::vector<class Mesh*> pMeshArray; 
    };
}
